package com.dataextend.entity;


import lombok.Data;

//@Data
public class PermissionEntity {
    private Long id;

    /**接口url*/
    private String url;

    /**接口名称*/
    private String name;

    /**父节点id*/
    private Long parentId;

    public Long getId() {
        return id;
    }

    public PermissionEntity setId(Long id) {
        this.id = id;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public PermissionEntity setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getName() {
        return name;
    }

    public PermissionEntity setName(String name) {
        this.name = name;
        return this;
    }

    public Long getParentId() {
        return parentId;
    }

    public PermissionEntity setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }

}
